package com.ruoyi.exam.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题目，存储题目信息对象 t_question
 * 
 * @author ruoyi
 * @date 2024-12-17
 */
public class Question extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，题目ID */
    private Long id;

    /** 题目类型，例如选择题、填空题等 */
    @Excel(name = "题目类型，例如选择题、填空题等")
    private Long questionType;

    /** 题目名称 */
    @Excel(name = "题目名称")
    private String questionTitle;

    /** 题目内容,不同的json内容表示不同的选项内容 */
    @Excel(name = "题目内容,不同的json内容表示不同的选项内容")
    private String questionText;

    /** 题目答案 */
    @Excel(name = "题目答案")
    private String questionAnswer;

    /** 题目答案解析 */
    @Excel(name = "题目答案解析")
    private String questionAnswerExplain;

    /** 题目分值 */
    @Excel(name = "题目分值")
    private Double questionScore;

    /** 难度等级，例如1-5表示难度递增 */
    @Excel(name = "难度等级，例如1-5表示难度递增")
    private Long difficult;

    /** 是否已删除，1表示已删除，0表示未删除 */
    @Excel(name = "是否已删除，1表示已删除，0表示未删除")
    private Integer deleted;

    /** 工种类别，运营类等 */
    @Excel(name = "工种类别，运营类等")
    private Integer jobCategory;

    /** 纲要 */
    @Excel(name = "纲要")
    private String outline;

    public String getOutline() {
        return outline;
    }

    public void setOutline(String outline) {
        this.outline = outline;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuestionType(Long questionType) 
    {
        this.questionType = questionType;
    }

    public Long getQuestionType() 
    {
        return questionType;
    }
    public void setQuestionTitle(String questionTitle) 
    {
        this.questionTitle = questionTitle;
    }

    public String getQuestionTitle() 
    {
        return questionTitle;
    }
    public void setQuestionText(String questionText) 
    {
        this.questionText = questionText;
    }

    public String getQuestionText() 
    {
        return questionText;
    }
    public void setQuestionAnswer(String questionAnswer) 
    {
        this.questionAnswer = questionAnswer;
    }

    public String getQuestionAnswer() 
    {
        return questionAnswer;
    }
    public void setQuestionAnswerExplain(String questionAnswerExplain) 
    {
        this.questionAnswerExplain = questionAnswerExplain;
    }

    public String getQuestionAnswerExplain() 
    {
        return questionAnswerExplain;
    }
    public void setQuestionScore(Double questionScore) 
    {
        this.questionScore = questionScore;
    }

    public Double getQuestionScore()
    {
        return questionScore;
    }
    public void setDifficult(Long difficult) 
    {
        this.difficult = difficult;
    }

    public Long getDifficult() 
    {
        return difficult;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setJobCategory(Integer jobCategory) 
    {
        this.jobCategory = jobCategory;
    }

    public Integer getJobCategory() 
    {
        return jobCategory;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionType", getQuestionType())
            .append("questionTitle", getQuestionTitle())
            .append("questionText", getQuestionText())
            .append("questionAnswer", getQuestionAnswer())
            .append("questionAnswerExplain", getQuestionAnswerExplain())
            .append("questionScore", getQuestionScore())
            .append("difficult", getDifficult())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .append("jobCategory", getJobCategory())
            .toString();
    }
}
